package com.xtoneict.auth.service.impl;


import com.xtoneict.auth.entity.YearMonthTab;

import com.xtoneict.auth.mapper.YearMonthTabMapper;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xtoneict.auth.service.IYearMonthTabService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hx
 * @since 2024-06-21
 */
@Service
public class YearMonthServiceImpl extends ServiceImpl<YearMonthTabMapper, YearMonthTab> implements IYearMonthTabService {

    @Autowired
    private YearMonthTabMapper yearMonthTabMapper;
    @Override
    public YearMonthTab getByYearAndMonth(Integer year, Integer month) {
        YearMonthTab yearMonth = yearMonthTabMapper.getByYearAndMonth(year, month);
        return yearMonth;
    }
}
